<!DOCTYPE html>
<html lang="en">
    <head>
    	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    	<meta charset="utf-8">
		<title> Amikom Computer Club</title>
		<meta name="description" content="Amcc Amikom Computer Club">
		<link rel="shortcut icon" type="image/ico" href="<?php echo base_url();?>asset/image/homepage/favicon.ico" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="<?php echo base_url()?>asset/bootstrap/css/bootstrap.min.css" rel="stylesheet"> 
        <link href="<?php echo base_url()?>asset/fontawesome/css/font-awesome.min.css" rel="stylesheet">      
        <link href="<?php echo base_url()?>asset/css/styles.css" rel="stylesheet" type="text/css" >
    </head>    
    <body>
    	<!-- menu utama -->
	    <nav class="navbar navbar-static" role="navigation">
		    <div class="container">
			    <div class="navbar-header">
			    	<a class="navbar-brand" href="<?php echo base_url();?>" ><b>AMCC</b></a>
				    <a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
			        	<i class="fa fa-th-large"></i>
			      	</a>
			    </div>
			    <div class="navbar-collapse collapse">
			        <ul class="nav navbar-nav">  
			        	
			        	<li class="dropdown">
				            <a href="<?php echo base_url();?>web/profil" class="dropdown-toggle" data-toggle="dropdown">Profil</a>
				            <ul class="dropdown-menu">
				              <li><a href="<?php echo base_url();?>web/visimisi">Visi Misi</a></li>
				              <li><a href="<?php echo base_url();?>web/struktur">Struktur Organisasi</a></li>
				              <li><a href="<?php echo base_url();?>web/denah">Denah Camp</a></li>
				            </ul>
			        	</li>
			        	<li><a href="<?php echo base_url();?>web/agenda">Agenda</a></li>
			        	<li class="dropdown">
				            <a href="#" class="dropdown-toggle" data-toggle="dropdown">E-Learning</a>
				            <ul class="dropdown-menu">
				              <li><a href="<?php echo base_url();?>web/desktop_elearning">Desktop Programming</a></li>
				              <li><a href="<?php echo base_url();?>web/web_elearning">Web Programming</a></li>
				              <li><a href="<?php echo base_url();?>web/hardware_elearning">Hardware</a></li>
				              <li><a href="<?php echo base_url();?>web/jaringan_elearning">Jaringan</a></li>
				            </ul>
			        	</li>
			        </ul>
			        <ul class="nav navbar-right navbar-nav">
			        	<li class="dropdown">
				            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-search"></i></a>
				            <ul class="dropdown-menu" style="padding:12px;">
				                <form class="form-inline">
				     				<button type="submit" class="btn btn-default pull-right"><i class="glyphicon glyphicon-search"></i></button><input type="text" class="form-control pull-left" placeholder="Search">
				                </form>
				            </ul>
			        	</li>
			        	<li class="dropdown">
				            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-user"></i> <i class="glyphicon glyphicon-chevron-down"></i></a>
				            <ul class="dropdown-menu">
					            <?php
						            if($this->session->userdata('is_login')){
						        ?>
						         	<li><a href="<?php echo base_url();?>web/member"><?php echo $this->session->userdata('nama');  ?></a></li>
						            <li><a href="<?php echo base_url()."web/logout" ?>">Log out</a></li>
						        <?php
						            } else {
						            	?>
						                 <li><a href="<?php echo base_url()?>login">Login</a></li>
							            <li class="divider"></li>
							            <li><a href="<?php echo base_url();?>web/profil">Tentang AMCC</a></li>
						         <?php  }
						        ?>
				            </ul>
			         	</li>
			        </ul>
			    </div>
			</div>
	    </nav>
	    <div class="clear"></div>
	    <!-- header -->
	    <header class="masthead">
			<div class="container">
			    <div class="row">
				   	<div class="col-md-2">
				          <img src="<?php echo base_url();?>image/homepage/logo%20amcc.png" alt="Logo AMCC" style="height:auto; width:100%; ">
				    </div>
				    <div class="col-md-10">
				    	<div class="pull-right">
					        <h1><a href="<?php echo base_url();?>" title="AMCC">AMIKOM COMPUTER CLUB</a>
					        	<p class="lead">Learning By Teaching Learning By Doing</p></h1>
				    	</div>
				    </div>
			    </div>
			</div>
		</header>

        